package com.example.springcache;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication
@EnableCaching  //开启缓存
public class SpringCacheApplication {

    /*
    * 参考
    * https://www.jianshu.com/p/e9b40acb2993
    * */
    public static void main(String[] args) {
        SpringApplication.run(SpringCacheApplication.class, args);
    }

}
